package pl.prv.polanie.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

// default package



/**
 * Ligheweight version of PreferenceDTO. Use only in client side.
 */

public class CSVPreferenceDTO extends java.lang.Object implements IsSerializable {

    // Fields

//     private String preferenceType;
	private long id;
    private String lecturer;
    private Integer startTime;
    private Integer duration;
     
    private String preferenceTypeName;
    private String preferenceTypeColor;

    // Constructors

    /** default constructor */
    public CSVPreferenceDTO() {
    }

	public CSVPreferenceDTO(long id, String lecturer, Integer startTime,
			Integer duration, String preferenceTypeName,
			String preferenceTypeColor) {
		super();
		this.id = id;
		this.lecturer = lecturer;
		this.startTime = startTime;
		this.duration = duration;
		this.preferenceTypeName = preferenceTypeName;
		this.preferenceTypeColor = preferenceTypeColor;
	}




	public String toLabel() {
		String result = "" +
			"[ " + CSVPreferenceDTO.class + "]" +
			"ptName: " + preferenceTypeName +
			", ptColor: " + preferenceTypeColor +
			", lecturer: " + lecturer +
			", startTime: " + startTime +
			", duration: " + duration; 
		return result;
	}



	
	public String getPreferenceTypeName() {
		return preferenceTypeName;
	}


	public void setPreferenceTypeName(String preferenceTypeName) {
		this.preferenceTypeName = preferenceTypeName;
	}


	public String getPreferenceTypeColor() {
		return preferenceTypeColor;
	}


	public void setPreferenceTypeColor(String preferenceTypeColor) {
		this.preferenceTypeColor = preferenceTypeColor;
	}


	public String getLecturer() {
		return lecturer;
	}


	public void setLecturer(String lecturer) {
		this.lecturer = lecturer;
	}


	public Integer getStartTime() {
		return startTime;
	}


	public void setStartTime(Integer startTime) {
		this.startTime = startTime;
	}


	public Integer getDuration() {
		return duration;
	}


	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	
	
}